#include <unistd.h>

#include "Common/Logger.cc"
#include "Common/LoggerHelper.h"
#include "FServer/FServer.h"
#include "iostream"

int main() {
  // must be on the top of logger initialize
  keeper_server::FServer app;
  keeper_server::loggerInitiation("/tmp/keeper_server.log");

  try {
    LOG_INFO("start to run");
    app.run();
  } catch (...) {
    LOG_ERROR("app error");
  }
  return 0;
}
